<?php

/**
 * Albireo Kernel
 *
 * @copyright  Copyright (c) 2010 Albireo Solutions
 * @package    Kernel
 */


namespace ApiModule;

use Nette\Application\Presenter;
use Nette\Environment;

use Celebrio\FileSystem\InvalidVfsApiOperationException;


/**
 * Base class for all application presenters.
 *
 * @author     Albireo Solutions
 * @package    Kernel
 */
abstract class BasePresenter extends Presenter
{
    /**
     * Sets the application to the new directory structure. IMPORTANT!
     * @var boolean
     */
    public $oldModuleMode = FALSE;

    /**
     * Sets the layout mode to the new one. IMPORTANT!
     * @var boolean
     */
    public $oldLayoutMode = FALSE;

    public function actionDefault() {
        throw new InvalidVfsApiOperationException('There is no default action!');
    }
}